//
//  IJPhotosAuthorization.h
//  iwjw
//
//  Created by ChenJianjun on 2017/2/4.
//  Copyright © 2016年 iwujwu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface IJPhotosAuthorization : NSObject

/**
 *  弹出拍照和从手机相册选择的提示框
 */
+ (void)showActionSheetWithCameraBlock:(nullable void(^)())cameraBlock
                            photoBlock:(nullable void(^)())photoBlock;

/**
 *  相机、相册的权限是否完全打开
 */
+ (BOOL)isAllAuthorizationsOpen;

+ (void)showSettingAlertWithSourceType:(UIImagePickerControllerSourceType)sourceType;

@end
